package com.xs;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.context.config.annotation.RefreshScope;

@SpringBootApplication
@RefreshScope
public class SpringCloudZkConfigApplication  implements InitializingBean {

	public static void main(String[] args) {
		SpringApplication.run(SpringCloudZkConfigApplication.class, args);
	}

	@Override
	public void afterPropertiesSet() throws Exception {
		System.out.println("初始化完成");
		
	}
}
